package com.prs.crm.domain.archives;

import java.util.Set;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;
/**
 * 
 * @author Yanghao
 *	2012-7-11 11:10:48 密级
 */
@Entity
@Table(name="ar_secretlevel")
public class SecretLevel extends BaseEntity{

	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	private Integer id;
	private String name;
	private String remark;
	@OneToMany(mappedBy="secretLevel")
	private Set<ArchivesManager> archivesManager;
	public Set<ArchivesManager> getArchivesManager() {
		return archivesManager;
	}
	public void setArchivesManager(Set<ArchivesManager> archivesManager) {
		this.archivesManager = archivesManager;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
}
